package mshop.com.schild_kotlin.activitys

import mshop.com.schild_kotlin.R
import mshop.com.schild_kotlin.base.BaseActivity
import mshop.com.schild_kotlin.fragments.MediaPlayerFiagment

/**
 * Created by mayi on 2018/5/30.
 * @Autor CaiWF
 * @Email 401885064@qq.com
 * @TODO
 */
class VideoPlayerActivity : BaseActivity() {
    override fun getNeedRefresh(): Boolean {
        return false
    }

    override fun onRefresh() {
    }

    override fun getLayoutResources(): Int {
        return R.layout.activity_video_player
    }

    override fun initView() {
        supportFragmentManager.beginTransaction()
                .add(R.id.frag_content, MediaPlayerFiagment.getInstall(intent.extras))
                .commit()

    }
}